package com.lzy.cloud.order.remote;

import com.lzy.framework.core.output.Result;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description: 商户信息接口
 * @Author:   gyl
 * @Date:     2018/7/9 17:31
 */
@FeignClient(name = "lzy-cloud-shop")
public interface ShopApi {
    /**
     * 方法说明：根据id查询详情
     * @param   id shopId
     * @return
     * @date        2018/7/9 17:36
     */
    @RequestMapping(value = "/shop/detail/{id}")
    Result selectById(@PathVariable("id") Long id);
}
